package com.hang.ad.service;

import com.hang.ad.entity.AdPlan;
import com.hang.ad.exceptions.AdException;
import com.hang.ad.vo.AdPlanGetRequest;
import com.hang.ad.vo.AdPlanRequest;
import com.hang.ad.vo.AdPlanResponse;

import java.util.List;

public interface IAdPlanService {
    //创建plan
    AdPlanResponse createAdPlan(AdPlanRequest request) throws AdException;
    //删除plan
    void deleteAdPlan(AdPlanRequest request) throws AdException;
    //查找plan
    List<AdPlan> getAdPlanByIds(AdPlanGetRequest request) throws AdException;
    //更新plan
    AdPlanResponse updateAdPlan(AdPlanRequest request) throws AdException;
}
